var name = "frank";

function foo(num) {
  var name = "test";
  console.log(n);
  var n = 10;
  var m = 20;
  console.log(name);
}

console.log(window);
